import http from '/@/utils/request'


/**
 * 新增工序信息
 */
export const addProcessInfo = (data) => {
    return http.request({
        url: '/process/info/add',
        method: 'put',
        data
    })
}

/**
 * 查询工序信息列表
 */
export const listProcessInfo = (data) => {
    return http.request({
        url: '/process/info/list',
        method:'get',
        data
    })
}
export const processInfoFindById = (data) => {
    return http.request({
        url: '/process/info/findById',
        method:'get',
        data
    })
}
/**
 * 修改工序信息列表
 */
export const updateProcessInfo = (data) => {
    return http.request({
        url: '/process/info/update',
        method: 'put',
        data
    })
}
/**
 * 删除工序信息
 */
export const delProcessInfo = (data) => {
    return http.request({
        url: '/process/info/delete' ,
        method: 'delete',
        data
    })
}
